<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <h1>{{message}}</h1>
<!--  <label for="agree">-->
<!--    <input type="checkbox" id="agree" v-model="isAgree">同意协议-->
<!--    <h1>你是否统一协议：{{isAgree}}</h1>-->
<!--    <button :disabled="!isAgree">下一步</button>-->
<!--  </label>-->
    <input type="checkbox" value="篮球" v-model="ball">篮球
    <input type="checkbox" value="足球" v-model="ball">足球
    <input type="checkbox" value="排球" v-model="ball">排球
    <input type="checkbox" value="铅球" v-model="ball">铅球
  <h1>您的爱好：{{ball}}</h1>
</div>

<script src="../js/vue.js"></script>
<script>
  //let(变量)和const(常量)
  const app = new Vue({
    el: '#app',
    data: {
      message: '中国牛蛙！',
      isAgree: false,
      ball: []
    }
  })
</script>
</body>
</html>